package com.heima.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Contract {

    private Integer id;
    private String contractNo;
    private String name;
    private String phone;
    private String subject;
    private Integer courseId;
    private String discountType;
    private Integer order;
    private Integer activityId;
    private String channel;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private Integer bussinessId;
    private Integer deptId;
    private String channelName;
    private String activeName;
}
